import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import { i18n } from './local/i18n'
import * as filters from './filters'
import { Col, Row, Input, Form, FormItem, Select, Option, Checkbox, Message } from 'element-ui';
import "viewerjs/dist/viewer.css"
import VueViewer from 'v-viewer'

Vue.use(VueViewer)
Vue.config.productionTip = false

Vue.prototype.$message = Message


Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})

Vue.use(Col)
Vue.use(Row)
Vue.use(Input)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Select)
Vue.use(Option)
Vue.use(Checkbox)
new Vue({
  i18n,
  router,
  store,
  render: h => h(App)
}).$mount('#app')
